package com.rongke.service.impl;

import com.baomidou.mybatisplus.service.impl.ServiceImpl;
import com.rongke.mapper.AdminRolePermissionMapper;
import com.rongke.model.AdminRolePermission;
import com.rongke.service.AdminRolePermissionService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * @AdminRolePermissionServiceImpl
 * @ServiceImpl
 * @version : Ver 1.0
 */
@Service
public class AdminRolePermissionServiceImpl extends ServiceImpl<AdminRolePermissionMapper, AdminRolePermission> implements AdminRolePermissionService {

    @Autowired
    private AdminRolePermissionMapper adminRolePermissionMapper;

    /**
     * @根据条件查找
     * @param adminRolePermission
     * @return
     */
    @Override
    public List<AdminRolePermission> selectByCondition(AdminRolePermission adminRolePermission) {
        return adminRolePermissionMapper.selectByCondition(adminRolePermission);
    }
}
